{% extends "base.html" %}
{% load i18n %}

{% block pageContent %}
			<div id="movieDiv" align="center">
				<a href="http://www.adobe.com/go/getflashplayer">
					<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
				</a>
			</div>
			<p>{% trans "Duration" %}: {{ videoDuration }}</p>
			<p>{% trans "From" %}: <a href="http://tw.youtube.com/user/{{ videoInfo.author }}">{{ videoInfo.author }}</a></p>
			<p>{{ videoInfo.description }}</p>
			<p>
				<b>{% trans "Link to YouTube video page" %}:</b> <a href="{{ videoInfo.sourceURL }}">{{ videoInfo.sourceURL }}</a> 
			</p>

<script type="text/javascript">
<!--
var loopMovieID = '{{ loopMovieID }}';

var so = new SWFObject('/static/swf/jwplayer/player.swf','moviePlayer','480','380','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam("wmode", "transparent");
so.addParam('flashvars','&width=480&height=380&file=http://www.youtube.com/watch?v={{ loopMovieID }}&autostart=true&repeat=always');
so.write('movieDiv');
-->
</script>
{% endblock pageContent %}
